summaryrefslogtreecommitdiffstats
path: root/src/android/app/src/main/java/org/citra/citra_emu/features/settings/model/FloatSetting.java
blob: 275f0eceae3b4d6fcb4c32133d5859ea38677535 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package org.citra.citra_emu.features.settings.model;

public final class FloatSetting extends Setting {
    private float mValue;

    public FloatSetting(String key, String section, float value) {
        super(key, section);
        mValue = value;
    }

    public float getValue() {
        return mValue;
    }

    public void setValue(float value) {
        mValue = value;
    }

    @Override
    public String getValueAsString() {
        return Float.toString(mValue);
    }
}